/**
 * 注册
 */
export type RegisterForm = {
  // tenantId: string;
  username: string;
  password: string;
  confirmPassword?: string;
  code?: string;
  uuid?: string;
  userType?: string;
};

/**
 * 登录请求
 */
export interface LoginData {
  username?: string;
  password?: string;
  uuid?: string;
  lang?: string;
  rememberMe?: boolean;
  socialCode?: string;
  socialState?: string;
  source?: string;
  code?: string;
  clientId?: string;
  grantType?: string;
}

/**
 * 登录响应
 */
export interface LoginResult {
  token: string;
}
/**
 * 忘记密码请求
 */
export interface forgetData {
  email?: '';
  newpassword?: '';
  verifyCode?: '';
  uuid?: '';
}
/**
 * 验证码返回
 */
export interface VerifyCodeResult {
  captchaEnabled: boolean;
  uuid?: string;
  img?: string;
}
export interface anyWay {
  [propertys: string]: any;
}

export interface query {
  code?: string | number;
  lang?: string | number;
  state?: string | number;
  pageNo?: string | number;
  pageSize?: string | number;
}
